package com.jixiang.tracedata.model.traveller;

import com.jixiang.tracedata.model.common.Hdr;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import java.io.Serializable;

/**
 * @author quanbiao
 * @date 2018-08-31
 * 证件信息
 */
@XStreamAlias("Document")
public class Document implements Serializable {

    private static final long serialVersionUID = 3173667878356235052L;

    /**
     * 英文姓
     */
    @XStreamAsAttribute()
    private String Surname;

    /**
     * Traveler initial or middle name (required by US Gov).
     */
    @XStreamAsAttribute()
    private String Initial;

    /**
     * 英文名
     */
    @XStreamAsAttribute()
    private String GivenName;

    /**
     * 性别，M：男性，F：女性
     */
    @XStreamAsAttribute()
    private String Gender;

    /**
     * 证件类型：
     1. NI：身份证
     2. PSPT：护照
     */
    @XStreamAsAttribute()
    private String Type;

    /**
     * 证件号码
     */
    @XStreamAsAttribute()
    private String Number;

    /**
     * 发证国家
     */
    @XStreamAsAttribute()
    private String IssueCountry;

    /***
     * 国籍代码
     */
    @XStreamAsAttribute()
    private String NationalityCountry;

    /**
     * 证件有效期截止时间
     */
    @XStreamAsAttribute()
    private String ExpirationDate;

    /**
     * 出生日期
     */
    @XStreamAsAttribute()
    private String DateOfBirth;

    /**
     * 持有人标识
     */
    @XStreamAsAttribute()
    private String PassportHolder;

    private Hdr Hdr;

    public com.jixiang.tracedata.model.common.Hdr getHdr() {
        return Hdr;
    }

    public void setHdr(com.jixiang.tracedata.model.common.Hdr hdr) {
        Hdr = hdr;
    }

    public String getSurname() {
        return Surname;
    }

    public void setSurname(String surname) {
        Surname = surname;
    }

    public String getInitial() {
        return Initial;
    }

    public void setInitial(String initial) {
        Initial = initial;
    }

    public String getGivenName() {
        return GivenName;
    }

    public void setGivenName(String givenName) {
        GivenName = givenName;
    }

    public String getGender() {
        return Gender;
    }

    public void setGender(String gender) {
        Gender = gender;
    }

    public String getType() {
        return Type;
    }

    public void setType(String type) {
        Type = type;
    }

    public String getNumber() {
        return Number;
    }

    public void setNumber(String number) {
        Number = number;
    }

    public String getIssueCountry() {
        return IssueCountry;
    }

    public void setIssueCountry(String issueCountry) {
        IssueCountry = issueCountry;
    }

    public String getNationalityCountry() {
        return NationalityCountry;
    }

    public void setNationalityCountry(String nationalityCountry) {
        NationalityCountry = nationalityCountry;
    }

    public String getExpirationDate() {
        return ExpirationDate;
    }

    public void setExpirationDate(String expirationDate) {
        ExpirationDate = expirationDate;
    }

    public String getDateOfBirth() {
        return DateOfBirth;
    }

    public void setDateOfBirth(String dateOfBirth) {
        DateOfBirth = dateOfBirth;
    }

    public String getPassportHolder() {
        return PassportHolder;
    }

    public void setPassportHolder(String passportHolder) {
        PassportHolder = passportHolder;
    }
}
